<div class="d-yuanjiao-10 d-buhuanhang d-kuan d-beijing-baise d-bianhua-15-20 d-wenzi-juzhong">
	<div class="d-kuan-33">
		<div class="d-wenzi-16">
			{count action=table table=1_quan_form_son_comment return=quans}
			{$quans_count}
		</div>
		<div class="d-shangxia-10">评论</div>
		<img class="" src="{HOME_THEME_PATH}quan/img/quan.png" height="26">
	</div>
	<div class="d-shuxian-1-30"></div>
	<div class="d-kuan-33">
		<div class="d-wenzi-16">
			{count action=table table=1_quan_form_son return=quanties}
			{$quanties_count}
		</div>
		<div class="d-shangxia-10">帖子</div>
		<img class="" src="{HOME_THEME_PATH}quan/img/tiezi.png" height="26">
	</div>
	<div class="d-shuxian-1-30"></div>
	<div class="d-kuan-33">
		<div class="d-wenzi-16">
			{count action=table table=member return=members}
			{$members_count}
		</div>
		<div class="d-shangxia-10">会员</div>
		<img class="" src="{HOME_THEME_PATH}quan/img/wo.png" height="26">
	</div>
	
</div>

	<div class="d-yuanjiao-10 d-kuan d-beijing-baise d-bianhua-10 d-shang-20">
		<!--div class="d-kuan  d-hanggao-50 d-yuanjiao-10 d-wenzi-juzhong d-quxian-0 d-xia-15 d-zitiyanse-bai" style="background-color: #448eff;">
			<a href="{SITE_URL}/index.php?s=member&app=shequ&c=home&m=add&kuai=1" class="d-jiacu d-wenzi-16"> 发 布 </a>
		</div-->
		<!--div class="d-yuanjiao-20 d-kuan d-jiacu d-wenzi-16">
			社区分类
		</div-->
		<div class="d-kuan">
			<div class="d-kuan d-quxian d-jiacu ">
				<a href="{dr_url('quan/show/index', ['id'=>$danquanid])}" class="d-kuan  d-kuai d-hanggao-40 d-wenzi-16 ">
					<span class="d-zuo-10">全部</span>
				</a>
			</div>
			{php $erjibiao = '1_quan_fenlei';}
			{table table=$erjibiao yijiid=0 cid=$id order=paixu_asc num=100 return=t1}
			{php $youerji = \Phpcmf\Service::M()->db->table($erjibiao)->where('yijiid', $t1.id)->get()->getRowArray();}
				<div class="d-kuan d-quxian d-jiacu d-xia-10 {if $_GET['qid'] == $t1.id} d-beijing-hei-f0 d-yuanjiao-10{/if}">
					<a href="{dr_url('quan/show/index', ['id'=>$id,'qid'=>$t1.id])}" class="d-kuan  d-kuai d-hanggao-40 d-wenzi-16 {if $_GET['qid'] == $t1.id } d-jiacu{/if}">
						<span class="d-zuo-10">{$t1.name}</span>
					</a>
					
					{if $youerji}
					<div>
						{table table=$erjibiao yijiid=1 yijiid=$t1.id cid=$index.id order=paixu_asc num=100 return=t2}
							<a href="{dr_url('quan/show/index', ['id'=>$id,'qid'=>$t1['id'],'erji'=>$t2['id']])}" class="d-hanggao-40  d-kuai {if $_GET['erji'] == $t2.id } d-gaoliang{else}d-zitiyanse-hui {/if}">
								<span class="d-zuo-20">{$t2.name}</span>
							</a>
						{/table}
					</div>
					{/if}
				</div>
				
			{/table}
			{if $uid == $member.uid}
			<div class="d-kuan d-quxian d-jiacu d-xia-10 d-beijing-hei-f0 d-yuanjiao-10">
				
					<a href="{dr_member_url('quan/son/index', ['cid'=>$id])}" class="d-kuan  d-kuai d-hanggao-40 d-wenzi-16" >
						<i class="fa fa-cog d-zuo-10"></i> 添加导航
					</a>
				
			</div>
			{/if}
		</div>
	</div>

<div class="d-yuanjiao-10 d-kuan d-beijing-baise d-bianhua-20 d-shang-20">
	<div class="d-kuan d-buhuanhang">
		<div class="d-yuanjiao-20 d-kuan d-jiacu d-wenzi-16">
			推荐圈子
		</div>
		
	</div>
	<div class="d-kuan">
		<div class="row">
			{module module=quan flag=1}
				<div class="col-md-3 col-xs-3 d-waigao-20 d-quxian">
					<a href="{$t.url}">
						<div class="d-wenzi-juzhong d-yuanjiao-10">
							<img class="d-yuanjiao-20" src="{dr_thumb($t.thumb)}" height="50" width="50"/>
							<div class="d-wenzi-juzhong d-wenzi-12 d-waigao-10">{dr_strcut($t['title'], 15, '')}</div>
						</div>
					</a>
				</div>
			{/module}
		</div>
	</div>
</div>
